package top.mataiji.manager.pojo;

import java.io.Serializable;

/**
 * @author zhoubin
 * @since 1.0.0
 */
public class On_sale implements Serializable {
    /**
     *
     */
    private Integer id;

    /**
     * 在售商品数量
     */
    private Long bookNum;

    /**
     * 在售商品价格
     */
    private Long bookPrice;

    /**
     * on_sale
     */
    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Long getBookNum() {
        return bookNum;
    }

    public void setBookNum(Long bookNum) {
        this.bookNum = bookNum;
    }

    public Long getBookPrice() {
        return bookPrice;
    }

    public void setBookPrice(Long bookPrice) {
        this.bookPrice = bookPrice;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", bookNum=").append(bookNum);
        sb.append(", bookPrice=").append(bookPrice);
        sb.append("]");
        return sb.toString();
    }
}
